package com.edu.fd2130sprbootdemo.service;

import com.edu.fd2130sprbootdemo.bean.User;

import java.util.List;

/**
 * @program: fd2130sprbootdemo
 * @description:
 * @author: Teacher.zhang
 * @create: 2022-03-10 09:26
 **/
public interface UserService {
    void delete(int id);

    int insert(User user);

    User selectById(int id);

    int update(User user);

    List<User> selectAll(int pageNum, int pageSize);
}
